ImagePicker
data class ImagePicker(val sourceType: <Error class: unknown class> = UIImagePickerControllerSourceType.UIImagePickerControllerSourceTypePhotoLibrary, val mediaType: Set<NavigationSpec.ImagePicker.MediaType> = setOf(MediaType.IMAGE), val navigationDelegate: <Error class: unknown class>, val imagePickerDelegate: <Error class: unknown class>, val animated: Boolean = false, val completion: () -> Unit? = null) : NavigationSpec
Presents a UIImagePickerController to the parent
Parameters
sourceType
the UIImagePickerControllerSourceType to pick
mediaType
Set of allowed MediaTypes to pick
navigationDelegate
The UINavigationControllerDelegateProtocol added to the UIImagePickerController
imagePickerDelegate
The UIImagePickerControllerDelegateProtocol added to the UIImagePickerController
animated
Specifies whether transition should be animated
completion
Optional function called when presentation is completed
Constructors
Link copied to clipboard
constructor(sourceType: <Error class: unknown class> = UIImagePickerControllerSourceType.UIImagePickerControllerSourceTypePhotoLibrary, mediaType: Set<NavigationSpec.ImagePicker.MediaType> = setOf(MediaType.IMAGE), navigationDelegate: <Error class: unknown class>, imagePickerDelegate: <Error class: unknown class>, animated: Boolean = false, completion: () -> Unit? = null)